package com.ruoyi.common.nmzp;

import javax.validation.constraints.*;

/**
 * 工作经历实体
 */
public class WorkEx {

    /**
     * 开始时间
     */
    @NotBlank(message = "工作开始时间不能为空")
    private String startTime;

    /**
     * 结束时间
     */
    @NotBlank(message = "工作结束时间不能为空")
    private String endTime;

    /**
     * 公司
     */
    @NotBlank(message = "公司名称不能为空")
    private String companyName;

    /**
     * 工作描述
     */
    @NotBlank(message = "工作描述不能为空")
    private String workDesc;

    @PositiveOrZero(message = "工作类型必须是正数，并且大于0")
    private Integer jobType;

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getWorkDesc() {
        return workDesc;
    }

    public void setWorkDesc(String workDesc) {
        this.workDesc = workDesc;
    }

    public Integer getJobType() {
        return jobType;
    }

    public void setJobType(Integer jobType) {
        this.jobType = jobType;
    }
}
